package com.yunji.order.emuns;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.order.emuns
 * @Title: WechatGrant
 * @Description: 微信授权类型
 * <p>
 * History:
 * Date						Version			Author			Summary
 * ========================================================================
 * 2024-04-20 11:08:57		V1.0			HuaAo		新建类
 */
public enum WechatGrant {
    CLIENT_CREDENTIAL("client_credential", "客户端凭据"),
    AUTHORIZATION_CODE("authorization_code", "授权码");
    private final String code;
    private final String text;

    WechatGrant(String code, String text) {
        this.code = code;
        this.text = text;
    }

    public String getCode() {
        return code;
    }

    public String getText() {
        return text;
    }
}